package com.xucy.springboot.designmodel.structural.brigeconnect;

/**
 * @Author xucy
 * @Date 2019-07-27 15:13
 * @Description
 **/

public class ABCBank extends Bank{

    public ABCBank(Account account) {
        super(account);
    }

    @Override
    public void openAccount() {
        System.out.println("我是农业银行");
        account.openAccount();
    }
}
